/*******************************************************************************
 * Copyright 卫志强 QQ：598748873@qq.com Inc. All rights reserved. 开源地址：https://gitee.com/doc_wei01/skyeye
 ******************************************************************************/

package com.skyeye.lifecycle.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skyeye.annotation.api.ApiModel;
import com.skyeye.annotation.api.ApiModelProperty;
import com.skyeye.annotation.api.Property;
import com.skyeye.common.entity.features.OperatorUserInfo;
import com.skyeye.operate.entity.Operate;
import lombok.Data;

/**
 * @ClassName: LifecycleTemplateEdgesData
 * @Description: 生命周期模板连线数据实体类
 * @author: skyeye云系列--卫志强
 * @date: 2022/9/3 20:45
 * @Copyright: 2022 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
 * 注意：本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目的
 */
@Data
@TableName(value = "lifecycle_template_edges_data", autoResultMap = true)
@ApiModel("生命周期模板连线数据实体类")
public class LifecycleTemplateEdgesData extends OperatorUserInfo {

    @TableId("id")
    @ApiModelProperty(value = "主键id。为空时新增，不为空时编辑")
    private String id;

    @TableField(value = "edges_id")
    @Property(value = "连线id")
    private String edgesId;

    @TableField(value = "template_id")
    @Property(value = "模板id")
    private String templateId;

    @TableField(value = "action_name")
    @ApiModelProperty(value = "连线名称")
    private String actionName;

    @TableField(value = "`condition`")
    @ApiModelProperty(value = "流转条件")
    private String condition;

    @TableField(value = "action_id")
    @ApiModelProperty(value = "操作id")
    private String actionId;

    @TableField(exist = false)
    @Property("操作信息")
    private Operate actionMation;
}
